package com.yuju.vo.hotel;

import java.io.Serializable;
import java.util.Date;

import com.yuju.common.BaseVO;
import com.yuju.common.fileld.validator.Rule.NonNull;

/**
 * 
 * 类名：RoomVO  <br />
 *
 * 功能：
 *
 * @author : zhousc <br />
 * @Date : 2017年11月27日 下午3:20:11  <br />
 * @version : 1.1 <br />
 */
public class RoomVO extends BaseVO implements Serializable{
	// 当前页码
	@NonNull(message = "页数不能为空", serviceLine = "pager")
	private Integer page;
	// 每页显示记录数
	@NonNull(message = "每页显示行数不能为空", serviceLine = "pager")
	private Integer pageSize;
	/**
     *  主键。存储UUID，由应用生成。,所属表字段为hot_room.id
     */
	@NonNull(message = "ID不能为空", serviceLine = "update,del,get")
    private String id;

    /**
     *  房号。指的是内部房号。,所属表字段为hot_room.room_code
     */
	@NonNull(message = "名称不能为空", serviceLine = "update,save")
    private String roomCode;

    /**
     *  外部房号。,所属表字段为hot_room.out_room_code
     */
    private String outRoomCode;

    /**
     *  所属酒店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为hot_room.hotel_id
     */
    @NonNull(message = "分店ID不能为空", serviceLine = "update,save")
    private String hotelId;

    /**
     *  所属楼栋。外键，引用楼栋表（hot_building）的主键（id）。,所属表字段为hot_room.building_id
     */
    @NonNull(message = "楼栋ID不能为空", serviceLine = "update,save")
    private String buildingId;

    /**
     *  所属楼层。外键，引用楼层表（hot_floor）的主键（id）。,所属表字段为hot_room.floor_id
     */
    @NonNull(message = "楼层ID不能为空", serviceLine = "update,save")
    private String floorId;

    /**
     *  房间类型。,所属表字段为hot_room.room_type_id
     */
    @NonNull(message = "房型ID不能为空", serviceLine = "update,save")
    private String roomTypeId;

    /**
     *  内部电话。,所属表字段为hot_room.in_phone
     */
    private String inPhone;

    /**
     *  外部电话。,所属表字段为hot_room.out_phone
     */
    private String outPhone;

    /**
     *  ,所属表字段为hot_room.room_attr
     */
    private String roomAttr;

    /**
     *  房间朝向。,所属表字段为hot_room.room_orientation
     */
    private String roomOrientation;

    /**
     *  简介，限制2000个字符。,所属表字段为hot_room.info
     */
    private String info;

    /**
     *  是否锁房。1是锁房，0是未锁房。,所属表字段为hot_room.is_lock
     */
    private Byte isLock;

    /**
     *  是否脏房。1是脏房，0是净房。,所属表字段为hot_room.is_dirty
     */
    private Byte isDirty;

    /**
     *  是否可用。0表示不可用，1表示可用，默认可用。,所属表字段为hot_room.is_enable
     */
    private Byte isEnable;

    /**
     *  是否逻辑删除。0表示未删除，1表示已逻辑删除。,所属表字段为hot_room.is_deleted
     */
    private Byte isDeleted;

    /**
     *  创建时间。,所属表字段为hot_room.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为hot_room.gmt_modified
     */
    private Date gmtModified;

    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为hot_room.group_id
     */
    @NonNull(message = "集团ID不能为空", serviceLine = "update,save")
    private String groupId;

    private static final long serialVersionUID = 1L;

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRoomCode() {
		return roomCode;
	}

	public void setRoomCode(String roomCode) {
		this.roomCode = roomCode;
	}

	public String getOutRoomCode() {
		return outRoomCode;
	}

	public void setOutRoomCode(String outRoomCode) {
		this.outRoomCode = outRoomCode;
	}

	public String getHotelId() {
		return hotelId;
	}

	public void setHotelId(String hotelId) {
		this.hotelId = hotelId;
	}

	public String getBuildingId() {
		return buildingId;
	}

	public void setBuildingId(String buildingId) {
		this.buildingId = buildingId;
	}

	public String getFloorId() {
		return floorId;
	}

	public void setFloorId(String floorId) {
		this.floorId = floorId;
	}

	public String getRoomTypeId() {
		return roomTypeId;
	}

	public void setRoomTypeId(String roomTypeId) {
		this.roomTypeId = roomTypeId;
	}

	public String getInPhone() {
		return inPhone;
	}

	public void setInPhone(String inPhone) {
		this.inPhone = inPhone;
	}

	public String getOutPhone() {
		return outPhone;
	}

	public void setOutPhone(String outPhone) {
		this.outPhone = outPhone;
	}

	public String getRoomAttr() {
		return roomAttr;
	}

	public void setRoomAttr(String roomAttr) {
		this.roomAttr = roomAttr;
	}

	public String getRoomOrientation() {
		return roomOrientation;
	}

	public void setRoomOrientation(String roomOrientation) {
		this.roomOrientation = roomOrientation;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public Byte getIsLock() {
		return isLock;
	}

	public void setIsLock(Byte isLock) {
		this.isLock = isLock;
	}

	public Byte getIsDirty() {
		return isDirty;
	}

	public void setIsDirty(Byte isDirty) {
		this.isDirty = isDirty;
	}

	public Byte getIsEnable() {
		return isEnable;
	}

	public void setIsEnable(Byte isEnable) {
		this.isEnable = isEnable;
	}

	public Byte getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Byte isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public RoomVO() {
		super();
		// TODO Auto-generated constructor stub
	}

	public RoomVO(Integer page, Integer pageSize, String id, String roomCode, String outRoomCode, String hotelId,
			String buildingId, String floorId, String roomTypeId, String inPhone, String outPhone, String roomAttr,
			String roomOrientation, String info, Byte isLock, Byte isDirty, Byte isEnable, Byte isDeleted,
			Date gmtCreate, Date gmtModified, String groupId) {
		super();
		this.page = page;
		this.pageSize = pageSize;
		this.id = id;
		this.roomCode = roomCode;
		this.outRoomCode = outRoomCode;
		this.hotelId = hotelId;
		this.buildingId = buildingId;
		this.floorId = floorId;
		this.roomTypeId = roomTypeId;
		this.inPhone = inPhone;
		this.outPhone = outPhone;
		this.roomAttr = roomAttr;
		this.roomOrientation = roomOrientation;
		this.info = info;
		this.isLock = isLock;
		this.isDirty = isDirty;
		this.isEnable = isEnable;
		this.isDeleted = isDeleted;
		this.gmtCreate = gmtCreate;
		this.gmtModified = gmtModified;
		this.groupId = groupId;
	}
    
    
}